package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.supervise.JgSchemeStandard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JgSchemeStandardMapper extends BaseMapper<JgSchemeStandard> {
    List<JgSchemeStandard> selectByCheckId(@Param("schemePlanCheckId") Long schemePlanCheckId);

    JgSchemeStandard selectByStandardId(@Param("schemePlanCheckId") Long schemePlanCheckId,@Param("standardId")  Long standardId);

    int batchUpdate(@Param("list") List<JgSchemeStandard> standardUpdateList);
}